#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main() {
    float a, b, c, m, n;
    scanf("%f %f %f", &a, &b, &c);
    m = a + b + c;
    n = (a + b + c) / 3.0;
    printf("%.2f %.2f", m, n);
    return 0;
}